package com.mbc.common.exception;

@SuppressWarnings("serial")
public class DataNotFoundException extends Exception {
	
	@SuppressWarnings("rawtypes")
	private Class entityClass;
	
	public DataNotFoundException(String message){
		super(message);
	}
	
	@SuppressWarnings("rawtypes")
	public DataNotFoundException(String message, Class entityClass){
		super(message);
		this.entityClass = entityClass;
	}

	@SuppressWarnings("rawtypes")
	public Class getEntityClass() {
		return entityClass;
	}

	public void setEntityClass(@SuppressWarnings("rawtypes") Class entityClass) {
		this.entityClass = entityClass;
	}
}
